package com.youlai.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.LpsOrderFs;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.excel.LpsOrderFsExcel;
import com.youlai.boot.system.model.excel.LpsOrderLjExcel;
import com.youlai.boot.system.model.query.LpsOrderFsQuery;
import com.youlai.boot.system.model.vo.LpsOrderFsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 莱普森扶手Mapper接口
 *
 * @author youlaitech
 * @since 2025-08-18 10:16
 */
@Mapper
public interface LpsOrderFsMapper extends BaseMapper<LpsOrderFs> {

    /**
     * 获取莱普森扶手分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<LpsOrderFsVO> getLpsOrderFsPage(Page<LpsOrderFsVO> page, LpsOrderFsQuery queryParams);

    /**
     *
     * @param fsList
     */
    void batchInsert(@Param("list")List<LpsOrderFs> fsList);

    /**
     * @param orderIds
     */
    void deleteByOrderIds(@Param("orderIds") List<Long> orderIds);

    /**
     * @param orderId
     * @return
     */
    List<LpsOrderFsExcel> getExcelList(Long orderId);
}
